<template>
  <div id="app">
    <a-locale-provider :locale="locale">
      <router-view/>
    </a-locale-provider>
  </div>
</template>

<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN';
import {ipcRenderer } from 'electron'
export default {
  name:'App',
  data(){
    return {
      locale:zhCN
    }
  },
  
  created(){
    console.log("env",this.$env);
    //ipcRenderer.invoke('handleComposeVoice', "nihao");
  } 
}

</script>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  color: white;
  height: 100%;
  width: 100%;
  background-color: rgb(68,68,67);
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}

</style>
<style lang="scss">
/* 设置滚动条的样式 */
::-webkit-scrollbar {
  width:6px;
  height: 6px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
-webkit-box-shadow:inset006pxrgba(0,0,0,0.3);
  border-radius:10px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
border-radius:10px;
  background:rgba(113,113,112,1);
  -webkit-box-shadow:inset006pxrgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
  background:rgba(113,113,112,0.4);
}
</style>